import request from '@/utils/request'

// 查询领养列表
export function listAdopt(query) {
  return request({
    url: '/admin/adopt/list',
    method: 'get',
    params: query
  })
}

// 查询领养详细
export function getAdopt(adoptId) {
  return request({
    url: '/admin/adopt/get/' + adoptId,
    method: 'get'
  })
}

// 审核领养申请
export function reviewAdopt(data) {
  return request({
    url: '/admin/adopt/review',
    method: 'post',
    data: data
  })
} 